package docks;

import java.util.Hashtable;
import java.util.List;

import com.google.android.maps.GeoPoint;

public interface DockAPI {

	/**
	 * Obtains all the Bicing docks
	 * @return a list of Dock
	 */
	public List<Dock> getAllDocks();
	
	public List<Dock> getFullDocks();
	
	public List<Dock> getHalfDocks();
	
	public List<Dock> getEmptyDocks();
	
	public Dock getDockInfo(int dockid);
	
	public void setStarred(int dockid, boolean starred);
	
	public List<Dock> getAllStarred();
	
	public void refreshData(Hashtable<Integer, Dock> data);
	
	public Dock getClosestDock(GeoPoint p, boolean park);
}
